.header {
    height: 50px;
    background-color: red;
    line-height: 50px;
    color: #fff;
    text-indent: 20px;
    font-size: 22px;
}

body {
    font-family: microsoft yahei;
    background-color: #e7e7e7;
}

.main {
    width: 960px;
    background-color: #fff;
    margin: 10px auto;
    padding: 20px;
}

.masker {
    position: fixed;
    background-color: #000;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 0.5;
}

.dialog {
    position: fixed;
    width: 500px;
    height: 200px;
    background: #fff;
    top: 50%;
    left: 50%;
    margin: -100px 0 0 -250px;
}

.dialog-header {
    background-color: red;
    height: 30px;
    line-height: 30px;
    color: #fff;
    text-indent: 10px;
}

.dialog-header i {
    position: absolute;
    font-style: normal;
    right: 10px;
    font-size: 22px;
    cursor: pointer;
}

.dialog-header i:hover {
    color: #ccc;
}

.masker-wp {
    display: none;
}

.tool-bar {
    background-color: #FF8C8C;
    padding: 10px;
    margin-bottom: 10px;
}

table.table, .table td, .table th {
    border: 1px solid red;
    text-align: left;
    text-indent: 5px;
}

table.table {
    border-collapse: collapse;
    width: 100%;
}

.table tr:hover {
    background-color: yellow;
}

.dialog-body {
    padding: 20px;
}

.dialog-footer {
    position: absolute;
    /* width: 100%; */
    bottom: 10px;
    right: 10px;
}

button.btn {
    border: none;
    background-color: #999;
    padding: 5px 10px;
    border-radius: 3px;
    color: #fff;
}

button.btn.active {
    background-color: red;
}

.dialog-body > div {
    margin: 10px 0;
}

.upload-btn {
    display: inline-block;
    border: 1px solid red;
    border-radius: 3px;
    position: relative;
    width: 100px;
    height: 30px;
    line-height: 30px;
    text-align: center;
}

.upload-btn input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
}

#tmpImg {
    width: 120px;
    height: 120px;
    position: absolute;
    right: 5px;
    top: 35px;
}